// app.js
import './untils/Toast.js'
import './untils/http.js'
App({
  globalData: {
    avatar: '',
    nickName: '熊可爱',
  },
  onLoad: {},
  setAvator(avator) {
    this.setData({
      avator,
    })
  },

  setNickname(nickname) {
    this.setData({
      nickname,
    })
  },
})
